[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 CURCONF() (INTEGER)

 Function
  Get the current conference number.

 Syntax
  CURCONF()   No arguments are required

 Return Type & Value
  INTEGER
  Returns an integer with the current conference number.

 Remarks
  This function can be useful in configuring a PPL program to work in
  different ways in different conferences.  As a quick example, we have a
  PPE file on Salt Air that interfaces with the enter message command.  If
  a user is in certain conferences we prompt them for additional
  information that we will likely need, otherwise we skip to the normal
  enter message process.  Of course, that's just one example; you are sure
  to have other uses for it.

 Examples
  IF (CURCONF() = 6) THEN ' The Salt Air beta conference is 6
    PRINTLN "You are leaving a message in the beta conference."
    PRINTLN "Be sure to leave your file date and time"
    PRINTLN "and a complete description of the problem."
  ENDIF
  KBDSTUFF TOKENSTR()

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson